package com.tmt.im.service.websocket;

import com.alibaba.fastjson2.JSONObject;
import jakarta.websocket.DecodeException;
import jakarta.websocket.Decoder;
import jakarta.websocket.EndpointConfig;

/**
 * Author yi.wu
 * Date 2023/1/7 14:52
 *
 * @author wuyi
 */
public class ServerTextDecoder implements Decoder.Text<JSONObject> {

    @Override
    public void init(EndpointConfig endpointConfig) {

    }

    @Override
    public void destroy() {

    }

    @Override
    public JSONObject decode(String s) throws DecodeException {
        return null;
    }

    @Override
    public boolean willDecode(String s) {
        return true;
    }
}
